package com.example.model;

import java.io.Serializable;

public class PinYin implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	private String type;
	private String res;
	private String way;
	private String ex;
	
	public PinYin(){
		super();
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getRes() {
		return res;
	}
	public void setRes(String res) {
		this.res = res;
	}
	public String getWay() {
		return way;
	}
	public void setWay(String way) {
		this.way = way;
	}
//	public String getClas() {
//		return clas;
//	}
//	public void setClas(String clas) {
//		this.clas = clas;
//	}
	public String getEx() {
		return ex;
	}
	public void setEx(String ex) {
		this.ex = ex;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "PinYin [id=" + id + ", name=" + name + ", type=" + type
				+ ", res=" + res + ", way=" + way + ",  ex="
				+ ex + "]";
	}
	public PinYin(int id, String name, String type, String res, String way,
			 String ex) {
		super();
		this.id = id;
		this.name = name;
		this.type = type;
		this.res = res;
		this.way = way;
//		this.clas = clas;
		this.ex = ex;
	}
	
	
	
}